﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BinhSon.Dao;

namespace BinhSon.Services.Contracts
{
    public interface ILopHocServices
    {
        IList<LopHoc> GetListOfLopHoc(int? khoiId = null);

        LopHoc GetLopHocByTenLop(string tenLop);

        LopHoc GetLopHocByLopHoc(int lopHocId);

        void ThemLopHoc(LopHoc lh);

        int GetSiSoLop(int lopHocId);

        void CapNhatSiSoLop(int lopHocId, int siSoLop);        

        DataSet ExportLopHoc(int khoiId, int? lopHocId = null);

        IList<LopHoc> GetListOfLopHocChuaCoChuNhiem(IList<int> lopHocIds);        

        IList<LopHoc> GetListOfLopHocChuaPhanCong(int? lopHocId = null);        

        bool CheckExistLopHoc(int khoiId, string tenLop);

        bool ImportLopHocFromDataSet(DataSet dataSet);
    }
}
